package cn.zut.hhr.class1.entity;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhr
 * @since 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Boolean available;

    private String description;

    private String role;

    private String cnname;

    //多对多角色权限
    private List<SysPermission> permissions;

}
